package com.SunSoft.PhoneRemoteControl;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.ImageView;
import java.util.Locale;

public class Show_buy extends Activity
{
  boolean a = true;
  private dh b;

  public void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(2130903070);
    getIntent().getStringExtra("do_url");
    this.a = Locale.getDefault().getLanguage().toString().equals("zh");
    this.b = new dh(this);
    if (this.b.a("is_rotray").equals("1"))
      setRequestedOrientation(9);
    while (true)
    {
      ((ImageView)findViewById(2131165348)).setOnClickListener(new fv(this));
      ((ImageView)findViewById(2131165429)).setOnClickListener(new fw(this));
      ((ImageView)findViewById(2131165430)).setOnClickListener(new fx(this));
      MyApplication.a().a(this);
      return;
      setRequestedOrientation(1);
    }
  }

  public boolean onCreateOptionsMenu(Menu paramMenu)
  {
    if (this.a)
      paramMenu.add(0, 3, 3, "返回");
    while (true)
    {
      return true;
      paramMenu.add(0, 3, 3, "Return");
    }
  }

  public boolean onOptionsItemSelected(MenuItem paramMenuItem)
  {
    if (paramMenuItem.getItemId() == 3)
      finish();
    return true;
  }
}